package gemini.castor.ui.client.page.content.information.maketingplan.form;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiTemplate;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.Widget;

public class MaketingPlanFormView extends Composite implements
		MaketingPlanFormPresenter.Display {

	@UiTemplate("MaketingPlanFormView.ui.xml")
	interface MyUiBinder extends UiBinder<Panel, MaketingPlanFormView> {
	}

	private static final MyUiBinder binder = GWT.create(MyUiBinder.class);

	public MaketingPlanFormView() {
		initWidget(binder.createAndBindUi(this));
	}

	@UiField
	Image imgEnhancedMaketing;

	@UiField
	Image imgPlanTools;

	@UiField
	Image imgSupervisorRequalification;

	@Override
	public Widget asWidget() {
		return this;
	}

	@Override
	public void loadData() {
		imgEnhancedMaketing.setUrl("images/logo/SMPE_grnarrow.jpg");
		imgSupervisorRequalification.setUrl("images/logo/requalify_greenman.jpg");
		imgPlanTools
				.setUrl("images/logo/SMPE_grnarrow.jpg");
	}

}
